package city.spring.modules.material.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 实体类：物资报损审核表
 *
 * @author 谢金婷
 * @date 2021-01-20 14:22:53
 */
@Data
@TableName("material_breakage_approval")
public class MaterialBreakageApprovalEntity implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 报损ID
     */
    private String materialBreakageId;

    /**
     * 审核人
     */
    private String reviewer;

    /**
     * 审核状态：1.待审核，2.通过，3.不通过
     */
    private String approvalStatus;

    /**
     * 审核意见
     */
    private String suggestion;

    /**
     * 审核日期
     */
    private LocalDateTime reviewdate;

    /**
     * 类型：报损入库、报损出库
     */
    private String type;

    /**
     * 创建时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime gmtModified;
}